adding the function command decorator