Still working on typecast stuff