extended the logo function