Ported tutorial 05 for linux.