custom functions: better way to define them directly in sass