better code on cotrols