needed int instead of long