correct library structure