Added callbacks to ondexes