improved flags. Still need to add instructions