part of the functionality works