Converted partition into int