added flags!