move get function around
fix args