Bachelor's thesis of Priit Lätt