added more sensor function

am i doing the whole pull request thing wrong, btw?