renamed inputData method
simplified flower constructor