Updated readme to use static functions