Its probably due to my C background , i tend to do this very often. If its unpythonic, I humbly request you to correct it. That way, I'll have something to learn as well :)