“Retarded” was once a medical and technical term. It’s not any more and has officially been redefined in dictionaries as abusive slur against people who have a serious medical condition… and you used it in the modern context.
The word is socially unacceptable now. Stop using it.