get rid of unnecessary method