edit functions properly now