First version of pirate pig working