A function I created isn't working what can I do?