simple ruby prototype