Both functions are working