fixed versionig issue
working but with prototype issues