move showData to onCreate