added POST-saving functionality, FTs need refractoring because of duplication