removed unnecessary methods as it was throwing exception