remove unneccesary declarations