getting rid of old code (was used as reference)