added pragma to remove warnings on compiler