added  parameter for get method