removes unnecessary definition