Implemented custom STS