returns a empty object instead of null
add empty constructor