added -h flags
added -h flags