remove code which is not used