Beginning of Kap3, slight modifications for the previous two