simplify short funciton syntax