working on template, smartpone/tablet style