added logs and usage