implemented function syntactic sugar