got rid of useless method definition