almost I added type definition