code for happy with elegant