Removed custom interface and used BiFunction