resolving compilation issue