make this work for stackmob