Added method definition

Still need to write the logic inside