Trying by using a for in loop.