added logic to show help text