finish posOP layout code