using ARC, and added autoScrolling property