removing unnecessary router functions