Added some params and usage function