use prototyping

create methods through prototyping