added constructor edge case