how to implement?