self not working