added hrs, implemented ispalindrome