fix #13

api's added please check carefully  , though its my first pull request in ojs