got a working sample finaly