An attempt to find solution to both problems