cleaned up code references