added methods that allow access to samples before transmitted