removing trivial function
correcting syntax