add /save method
save in compile