function complete
schema.rb added