fixing usage function