added percentage functionality

needs to be implemented into text