duplicate symbol fix
make functions for widgets