Added better documentation