fork from https://bitbucket.org/lega911/alight