add print method for control object