start of bettersnap controls