How much time can I spend on this one stupid function.