removing unnecessary method