fixed typo and added specs