formatting results for better usage