added right flags...again...