added more inputs