make more functions work