moved parse method from object to value