adding method to call command
calling command()