function constructor
cleanup, coffe dependancy