added semicolon in logicalshift function