worked on backandforth platform, works but still has bugs