made some piratee changes