first workable version, but without dynamic IP changing