Added 2d callback & fixed typo