updated methods and readme file