added single flat case