constructor undefined