Fixed typos

-Working on new function