Worked out compiler errors..