using function to dislplay results
using phpStorm