Avoiding re-declaration error