added services loaded callback