added functionality for later assignments