added palimars code
added palimars code