got rid of all dupicate declarations