changed progress values type to long