Constructor function name incorrect