dont hardcode java specific actions