add types to remove warnings