added poll functions to access ui values