made input size arbitrary