updated for case