changed the self() function before it was too late