adding param function to handler