Rename, typo fix
Corrected function name
Split error into seperate file
Initial