The masters thesis of Neo Fung