Fork of: https://bitbucket.org/ahoyworld/aw-i-a-2