remove logging
new example, same as previous but proving that it works under autolayout