Basic remove function