Also, it should always return 1, you only need to put the del(src) into the if statement.