finishing code
check code format, use 4 spaces instead of tab
delete sql file for test