update

working on last function