moved p to te top