better version of todo.php with better functions!!! :D