learning to do this in eclipse