added a few new api methods. Tests to come!