Added method definition

Still need to add the logic inside