add stateful and stateless notes