made default constructor more sensible