AMFInterval added,
more functionality to AMFunction