added l option to add command