Resolving compilaiton errors