Less code, more function