some changes to upstart lgoic