removed properties from safe int and simplified it