updated for fails