fixed rename bug,
fixed placeholder typo,
added isValid function
added todo