moved some jitmethods into classes