Criminal capacity as an element of a crime