1st java method