cleaning up comments
logic for greying out attributes