adds remaining functions