line class made need to do methods