added all display control functions