oops, forget to remove amount from model function