lab4v2: add more functions. it's scaredgit push!