add code for status_icon, moved to helper