v0.1.3 adjust for tablet and custom variable