update

adding more functionality