added callback param, removed constant atom