basic func
passing hints