removes unnecessary method