new attempt at getting the attr entry correct (code formatting)