added new toolbar function