query works, just have to hook python up