Added subscribe function, now fully functioning at version 1.0