readded the func spec