added data param to get method