removed rest functionality