expired function works"