Resolved warnings that eclipse was giving