added some flags i guess