first draft without db