should work now added additional flags