Needs to be function and attribute not func and attr