errorf
layout and linking