removing unnecessary methods