overloaded data input through openData function