added sidebar functions for nitty function