Second commit with all three functions working