basically works, now working on next and previous feature