some moar api implemented, fixed a typo