you need to handle invalid names everywhere