loaded apex first and removed logging