Edited code in order to return 6 integers instead of 5