two more functions done