Added error check for invalid usage