Where a person intends to commit a particular crime and brings about the elements which constitute that crime he or she may be guilty of that crime although the crime takes effect in a manner which was unintended or unforeseen.