testintg the funcionality